﻿namespace SAD.Common.Contracts
{
    using System;
    using SAD.Common.Models;
    using System.ServiceModel;

    /// <summary>
    /// 数据中心主服务契约接口
    /// </summary>
    [ServiceContract]
    [DeliveryRequirements(RequireOrderedDelivery = false)]
    public interface IDataCenterService
    {
        [OperationContract(IsOneWay = false)]
        InfoCategory_Data[] GetInfoCategorys(string clientID);

        [OperationContract(IsOneWay = false)]
        Info_Data[] GetAdInfos(string clientID, int infoCategoryID);
    }
}